x11: Avoid a possible memory leak in an error case
authorMatthias Clasen <mclasen@redhat.com>
Sat, 4 Jan 2014 20:13:51 +0000 (15:13 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 4 Jan 2014 20:13:51 +0000 (15:13 -0500)
commitc37e3b631616313fd93bcbb3da54d68caf95198f
tree9cc6929f2338edfb51192620c0f73fc310c1b019
parent8a42bb69aa871c5374532b5b8cd05135daede793
x11: Avoid a possible memory leak in an error case

If _NET_WORKAREA is set to nonsensical values, we should still
free the memory before returning.
gdk/x11/gdkscreen-x11.c